#define  _CRT_SECURE_NO_WARNINGS

#include "list.h"
#include "vector.h"

int main()
{
	//byh::list<int> li = { 1,2,3,4,5,6 };
	//byh::list<int>::reverse_iterator rit = li.rbegin();
	//while (rit != li.rend())
	//{
	//	cout << *rit << " ";
	//	++rit;
	//}
	//cout << endl;

	byh::vector<int> v = { 1,2,3,4,5 };
	byh::vector<int>::reverse_iterator rit = v.rbegin();
	while (rit != v.rend())
	{
		cout << *rit << " ";
		++rit;
	}
	cout << endl;

	return 0;
}